Image recognizing apparatus and method

ABSTRACT

An image recognizing apparatus and method is provided for recognizing behavior of a mobile unit accurately with an image of external environment acquired during the mobile unit is moving.  
     Behavior command output block  12  outputs behavior commands to cause the mobile unit  32  move. Local feature extraction block  16  extracts features of local areas of the image from the image of external environment acquired on the mobile unit  32  when the behavior command is output. Global feature extraction block  18  extracts feature of global area of the image using the features of local areas. Learning block  20  calculates probability models for recognizing behavior given to the mobile unit  32  based on the feature of global area of the image. After learning is finished, behavior of the mobile unit  32  may be recognized rapidly and accurately by applying the probability models to an image of external environment acquired in mobile unit  32  afresh.

TECHNICAL FIELD

[0001] The present invention relates to image recognizing apparatus and method. More specifically, the invention relates to image recognizing apparatus and method for recognizing the behavior of mobile unit using images of external environment taken when the mobile unit is moving.

BACKGROUND OF THE INVENTION

[0002] A method for detecting optical flow is well-known in the art for recognizing behavior of mobile unit using images of external environment by calculating, for example, gradient change of image density from sequence of input images.

[0003] In Japanese Patent Application Unexamined Publication (Kokai) No. 2000-171250, a method for detecting current position of a mobile unit by means of optical flow is disclosed. According to the method, optical flow of scenes of certain course are acquired every predetermined distance when the mobile unit moves along with the course beforehand. Then relationship between the optical flow and taking point is stored. After that, optical flow of the course is newly detected and undergoes matching with all of stored optical flows. The one showing maximum matching result is selected and a point associated with the selected one is recognized as current point where the mobile unit moves.

[0004] In Japanese Patent Application Unexamined Publication (Kokai) No. H11-134504, another method is disclosed. The method comprises calculating optical flow from moving images and processing the optical flow with neural network layer to recognize the behavior of the mobile unit. The method further comprises judging necessary processing based on the recognition. According to the method, detecting the approach to the obstacle is enabled with simple neural network based on moving images.

[0005] However, in order to implement the former method, many relationships between optical flow and point in a course need to be stored by moving the mobile unit in the predetermined course beforehand.

[0006] Generally, there are some problems to recognize position and behavior of the mobile unit by feature extracting based only on moving images like the latter method. For example, since relative distance between light source and a camera on the mobile unit changes continuously as the mobile unit moves, image intensity such as lightness changes so great that accurate feature extracting is difficult. In addition, since vibration of the moving mobile unit is transmitted to the camera, accuracy of feature extraction is degraded. If a recognizing system is configured to execute smoothing process over multiple frame of images to remove bad effects due to the variation of image intensity or the vibration, computing load becomes too heavy or feature extraction becomes difficult when the image moves fast due to large time variation.

[0007] It is objective of the present invention is to provide an image recognizing apparatus and method that can recognize the behavior of a mobile unit rapidly and accurately using images of external environment taken on the mobile unit in the real application.

SUMMARY OF THE INVENTION

[0008] An image recognizing apparatus according to the invention performs learning in an on-line like fashion in the real application without executing smoothing process to remove the noise effect like conventional art, and improve robustness over variation of environment by using such noise as data for feature extraction.

[0009] The image recognizing apparatus according to the invention comprises behavior command output means for outputting behavior commands to cause a mobile unit to move and local feature extraction means for extracting features of local areas within an image of external environment acquired on the mobile unit when the behavior command is output. The apparatus further comprises global feature extraction means for extracting features of global area of the image using the extracted features of the local areas and learning means for calculating probability models to recognize behavior of the mobile unit based on the extracted features of the global area.

[0010] The local feature extraction means extracts the features of the local areas within the image by utilizing image intensities obtained by applying both positive and negative component of Gabor filters on two images. Preferably, the Gabor filters are applied on one of eight different directions respectively.

[0011] The global feature extraction means combines the features of the local areas into the global feature with the use of Gaussian functions.

[0012] It is preferable that the probability models are generated utilizing expectation maximization algorithm and supervised learning with the use of neural network, but any other learning algorithm may be used.

[0013] After the probability models are generated, high-accurate behavior recognition of the mobile unit is enabled by applying the models to an image acquired afresh. Therefore, the apparatus may comprises a behavioral recognition means for applying Bayes' rule with use of the probability model on an image acquired afresh. The behavioral recognition means further calculates confidence for each of the behavior commands to recognize behavior of the mobile unit.

[0014] It is desirable that the accuracy of the behavior recognition is always greater than a certain level. Therefore, the apparatus according to the invention further comprises a behavioral assessment means for comparing the confidence with a predetermined value to assess the recognized behavior, an attention generation means for generating attentional demanding which demands to cause the probability model to be updated based on the result of the assessment, and an attentional modulation means for changing specified parameter of the global feature extraction means in response to the attentional demanding.

[0015] In this case, the learning means recalculates probability model after the parameter is changed. Then the behavior recognition means recognizes behavior of the mobile unit again with the probability models.

[0016] Other features and embodiments of the invention will be apparent for those skilled in the art by reading the following detailed description referring to the attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017]FIG. 1 shows functional block diagram of the image recognizing apparatus according to one embodiment of the invention;

[0018]FIG. 2 is a flow chart illustrating advance learning part of image recognizing method according to the invention;

[0019]FIG. 3 are drawings illustrating image recognition result in going straight of a mobile unit (Ω₁);

[0020]FIG. 4 are drawings illustrating image recognition result in a left turn of a mobile unit (Ω₂);

[0021]FIG. 5 are drawings illustrating image recognition result in a right turn of a mobile unit (Ω₃);

[0022]FIG. 6 is one example of hierarchical neural network employed by supervised learning;

[0023]FIG. 7 is a flow chart illustrating behavior recognizing part of image recognizing method according to the invention;

[0024]FIG. 8 is a block diagram illustrating components of an RC car which employed image recognizing apparatus according to the invention;

[0025]FIG. 9 shows change of logarithmic likelihood of confidence;

[0026]FIG. 10 show recognition result of behavior of RC car with gaussian mixture m=20; and

[0027]FIG. 11 show recognition result of behavior of RC car with gaussian mixture m=50.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Now some preferred embodiments of the invention will be described below with reference to the attached drawings.

[0029]FIG. 1 is a block diagram of image recognizing apparatus 10 according to one embodiment of the present invention. Image recognizing apparatus 10 comprises a behavior command output block 12, a local feature extraction block 16, a global feature extraction block 18, a learning block 20, memory 22, a behavior recognition block 24, a behavior assessment block 26, an attention generation block 28 and an attentional modulation block 30.

[0030] The recognizing process of the image recognizing apparatus 10 comprises two parts. First part is advance learning part, where relationship is learned between behavior of a moving mobile unit and images taken by a camera equipped on the mobile unit. Second part is behavior recognizing part, where behavior of the mobile unit is recognized based on newly taken image using the knowledge learned in the advance learning part.

[0031] In the advance learning part, the behavior command output block 12, the local feature extraction block 16, the global feature extraction block 18, the learning block 20 and the memory 22 are employed. In the behavior recognizing part, in addition to those blocks, the behavior recognition block 24, the behavior assessment block 26, the attention generation block 28 and the attentional modulation block 30 are employed.

[0032] At first, each block employed in the advance learning part is described.

[0033] The behavior command output block 12 outputs behavior commands to a mobile unit 32. As used herein, term “behavior command” means a command to cause the mobile unit to go straight, to make right turn, or left turn. The behavior commands are output depending on instruction signal transmitted from external device. In alternative embodiment, the behavior command output block 12 may read pre-stored sequence of behavior commands and then output them. In a further alternative embodiment, the mobile unit 32 recognizes behavior of itself based on acquired image and determines which behavior to take next, and the behavior command output block 12 outputs the behavior command depending on the determination.

[0034] The behavior command is sent to mobile unit 32 by radio or cable broadcasting and causes it to move (for example, go straight or turn left/right). The behavior command is also supplied to global feature extraction block 18 and used for generation of global features described below.

[0035] Provided on the mobile unit 32 is an image acquisition block 14 such as a charge-coupled device (CCD) camera, which acquires image I(t) of external environment of the mobile unit 32 at time t every preset interval and supplies it to the local feature extraction block 16.

[0036] The local feature extraction block 16 extracts feature vector of each local area of the image I(t). As used herein, the term “local area” means one of small areas into which whole image I(t) acquired by the image acquisition block 14 is divided such that each small area has same dimension. Each local area is composed of plurality of pixels. In the present embodiment, the local feature extraction block 16 calculates optical flow from two images I(t), I(t+1) consecutive in time and used the optical flow to generate feature vector for each local area (hereinafter referred to as “local feature”). The extracted local features are supplied to the global feature extraction block 18.

[0037] The global feature extraction block 18 combines all of the local features of the image I(t) and extracts one new feature vector, which is referred to as “global feature” hereinafter. The global feature is supplied to the learning block 20.

[0038] The learning block 20 implements learning based on the global feature and generates probability models described below. In the present embodiment, well-known expectation maximization algorithm and supervised learning with the use of neural network are used for such learning. Alternatively, other learning algorithm may be used. The probability models generated by the learning are stored in the memory 22 and used for recognition of behavior of the mobile unit 32 in the behavior recognizing part.

[0039] After the advance learning part is finished, the image recognizing apparatus 10 provides functionality of recognizing the behavior of the mobile unit 32 accurately by applying the probability models on an image acquired afresh by the image acquisition block 14.

[0040] Now each block employed in the behavior recognizing part is described.

[0041] The image acquisition block 14 acquires image I(t) of external environment of the mobile unit 32 at time t for every preset interval as is noted above, and then supplies it to the behavior recognition block 24 this time. The behavior recognition block 24 applies the probability model stored in the memory 22 on the supplied image I(t). The block 24 then calculates “confidence” for each of behavior commands and recognizes the behavior of the mobile unit 32 based on the confidence.

[0042] The confidence is supplied to the behavioral assessment block 26, which calculates logarithmic likelihood of the confidence. If the logarithmic likelihood of the confidence is larger than a specified value, no more operation is generated. If the logarithmic likelihood of the confidence is equal to or less then the predetermined value, the attention generation block 28 generates attentional demanding signal and supplies it to the attentional modulation block 30.

[0043] Upon receiving the attentional demanding, the attentional modulation block 30 changes (or modulates) a specified parameter in the learning algorithm and causes the learning block 20 to update the probability models, which is stored in the memory 22. The behavior recognition block 24 uses the updated probability models and recognizes the behavior of the mobile unit 32 again. Thus, the accuracy of behavior recognition will be expected to be more than a certain level.

[0044] While the image acquisition block 14 needs to be installed on the mobile unit 32, it is not necessary for the image recognizing apparatus 10 to be installed on the mobile unit 32 and may be located in external place. In case of being installed on the mobile unit 32, the image recognizing apparatus 10 may be either integral with or separate from the image acquisition block 14. Communication between the image acquisition block 14 and the image recognizing apparatus 10 may be done via cable or radio transmission.

[0045] The image recognizing apparatus 10 may be all or partly implemented by, for example, executing on a computer program configured to execute processes noted above.

[0046] Now process in the advance learning part are described in detail with reference to FIG. 1 and FIG. 2. FIG. 2 is a flowchart illustrating the process of the advance learning part.

[0047] When a mobile unit 32 moves in accordance with behavior command from the behavior command output block 12, the image acquisition block 14 acquires image I(t) at time t while the mobile unit 32 moves around in a given environment (step S42). The local feature extraction block 16 extracts local features from the acquired images I(t) and I(t+1) (step S44 . . . S48). More specifically, Gabor filters are used to calculate image intensity E₁(x_(t),y_(t)) by being applied to each local area image within the acquired images. A plurality of image intensities E₁(x_(t),y_(t)) in each direction of the Gabor filter are obtained for each local area according to the following Eq. (1) (step S44).

E ₁(x _(t) ,y _(t))=Img _((t)) ·Gbr _(i)(+)+Img _((t+1)) ·Gbr _(i)(−)  (1)

[0048] Here Gbr_(l)(+) and Gbr_(i)(−) represent positive component and negative component of the Gabor filter respectively. Subscript “i” represents direction of the Gabor filter. In the embodiment, “i” ranges from 1 to 8. Img_((t)) represents a local area image within the image I(t) acquired at certain time t and Img_((t+1)) represents a local area image within the image I(t+1) acquired at consecutive time t+1. (x_(t),y_(t)) shows coordinate of pixel in a local area at time t. Therefore, E₁(x_(t),y_(t)) represents image intensity in direction i of the local area image.

[0049] Direction for applying Gabor filters and the number of Gabor filters are arbitrary. In the embodiment, imitating receptive field of visual sensation facility of human being, Gabor filters in eight directions extending radially in equal angles from center of whole image are employed.

[0050] The local feature extraction block 16 selects a direction j having the largest image intensity from the plurality of image intensities E₁(x_(t),y_(t)) (i=1, . . . , 8) for each local area according to following Eq. (2) (step S46).

j=argmax_(i) E₁(x_(t),y_(t))  (2)

[0051] It should be noted that selected directions j will be different between local areas.

[0052] Then the local feature extraction block 16 applies Gauss function to the largest image intensity E_(j)(x_(t),y_(t)) according to following Eq. (3) to obtain local feature Ψ_(j)(x_(t),y_(t)) for each local area (step S48). $\begin{matrix} {{\Psi_{j}\left( {x_{t},y_{t}} \right)} = {\exp \left( {{- 0.5}\frac{\left( {{E_{j}\left( {x_{t},y_{t}} \right)} - \mu_{j}} \right)^{2}}{\sigma_{j}^{2}}} \right)}} & (3) \end{matrix}$

[0053] In Eq. (3), “μ_(j)” is an average of image intensities E_(j)(x_(t),y_(t)). “σ_(j)” is variance of these image intensities E_(j)(x_(t),y_(t)). Therefore, the local feature Ψ_(j)(x_(t),y_(t)) means the expression of probability density distribution for image intensity E_(j)(x_(t),y_(t)) in each local area image with regard to direction having the largest intensity. Local features Ψ_(j)(x_(t),y_(t)) are calculated as many as the number of local areas. It should be noted that the direction j where local feature Ψ_(j)(x_(t),y_(t)) is calculated for each local area is different.

[0054] Upon receiving the local features Ψ_(j)(x_(t),y_(t)) from the local feature extraction block 16 and the behavior command from the behavior command output block 12, the global feature extraction block 18 combines all local features Ψ_(j)(x_(t),y_(t)) with regard to each largest direction j of the image intensity to obtain global feature ρ_(j)(χ_(t)|l) according to Eq. (4) (step S50).

ρ_(j)(χ_(t)|l)=∫_(χ) _(t)

∈

_(²) Ψ_(j)(x_(t),y_(t))dx_(t)dy_(t (j=1, . . . , 8))  (4)

[0055] Here, “χ_(t)” means two-dimensional Cartesian coordinate of (x_(t),y_(t)).

[0056] Calculated global feature ρ_(j)(χ_(t)|l) is distributed to one of classes according to the behavior command output by the behavior command output block 12 when the image I(t) is acquired, and stored in memory (step S52). Here “l” represents behavior command. In the present embodiment where three behavior commands (going straight, a left turn and a right turn) are used, l=1 corresponds to a behavior command of going straight, l=2 to a behavior command of turning left, and l=3 to a behavior command of turning right. Therefore, the global features ρ_(j) when the mobile unit is going straight (l=1), turning left (l=2) or turning right (l=3) are stored in different classes.

[0057] These classes are called “attention class” Ω_(l). As used herein, term “attention class” is for updating learning result efficiently by noticing certain feature when new feature is presented, not reflecting all of them. The attentional class is identical to the probability model of different behaviors.

[0058] It should be noted that the number of attention class is not limited to three but any number of the attention class may be employed correlating to the number of behavior commands.

[0059] Because the global feature ρ_(j)(χ_(t)|l) is calculated in association with behavior command for image acquired at time t, a lot of sets of global feature for eight directions are stored by behavior command.

[0060]FIG. 3 to FIG. 5 illustrate the relationship among original (acquired) image I(t), local feature Ψ_(j)(x_(t),y_(t)) and global feature ρ_(j)(χ_(t)|l) in the environment where the mobile unit 32 runs toward obstacles. FIG. 3 correspond to the case when the mobile unit 32 goes straight. FIG. 4 correspond to the case when the mobile unit 32 turns left, and FIG. 5 correspond to the case when the mobile unit 32 turns right, respectively.

[0061] Upper part (a) of FIG. 3 to FIG. 5 show images of obstacles acquired at the place when the car is located in the environment. Middle part (b) of FIG. 3 to FIG. 5 show graph of local feature when one direction of the Gabor filter is applied to a whole image, calculated by the Eq.(2) and Eq.(3). In this example, the whole image is divided in 77*57 local areas. Lower part (c) of FIGS. 3 to FIGS. 5 are the Polar-shaped maps which depict the global feature ρ_(j) calculted by Eq. (4), consisting of the eight direction of the Gabor filter. In part (c), numerals of 1 to 8 correspond to application direction of the Gabor filter (upward direction, right-upward direction, or the like).

[0062] Comparing the polar-shaped maps in part (c) of FIGS. 3 to FIGS. 5, feature on behavior (behavior command 1) of mobile unit 32 may be recognized.

[0063] Back to FIG. 2, after storing the global feature ρ_(j)(χ_(t)|l) in step S52, the learning block 20 starts learning based on the global feature ρ_(j)(χ_(t)|l) (step S54 to S58). More specifically, Expectation Maximization algorithm (EM algorithm) and supervised learning with the use of neural network are employed to obtain probability models for recognizing behavior of the mobile unit 32.

[0064] The EM algorithm is an iterative algorithm for estimating parameter θ which takes maximum likelihood when observed data is viewed as incomplete data. Assuming mean of the observed data is represented as μ^(l) and covariance as Σ^(l), the parameter θ may be represented as θ(μ^(l),Σ^(l)). EM algorithm is initiated with appropriate initial values of θ(μ^(l),Σ^(l)). Then the parameter θ(μ^(l),Σ^(l)) is updated one after another by iterating Expectation (E) step and Maximization (M) step alternately.

[0065] On the E step, conditional expected value φ(θ|θ^((k))) is calculated according to following Eq. (5)

φ(θ|θ^((k)))=Σ_(i)Σ_(l) p(ρ^(l)|Ω_(l);θ^((k)))log(p(ρ^(l),Ω_(l);θ^((k))))  (5)

[0066] Then on the M step, parameters μ^(l) and Σ^(l) for maximizing φ(θ|θ^((k))) are calculated by following Eq. (6) and comprise a new estimated value θ^((k+1)).

θ^((k+1)) =argmax_(θ)φ(θ,θ^((k)))  (6)

[0067] After repeating E steps and M steps, conditional expected value φ(θ|θ^((k))) is obtained. By partial differentiating this value φ(θ|θ^((k))) on θ^((k)) and letting a result equal to zero, parameters μ^(l) and Σ^(l) may be finally calculated. More detailed explanation will be omitted because this EM algorithm is well known in the art.

[0068] By using EM algorithm, global feature of each attention class Ω_(l) can be expressed by normal distribution (step S54).

[0069] The global feature extraction block 18 uses those calculated μ^(l) and Σ^(l) in following Eq. (7) to calculate prior probability {overscore (p)}(ρ^(l)|Ω_(l)), which means the probability that global feature ρ_(j)(χ_(t)|l) belongs to class Ω_(l) of behavior command l (step S56). $\begin{matrix} {{\overset{\_}{p}\left( {\rho^{l}\Omega_{l}} \right)} = {\sum\limits_{m = 1}^{M}{\frac{\alpha_{m\quad \rho^{l}}}{\left( {2\pi} \right)^{N/2}\sqrt{\sum_{m\quad \rho^{l}}}}{\exp \left( {{- \frac{1}{2}}\left( {\rho^{l} - \mu} \right)^{T}{\sum\limits_{m\quad \rho^{l}}^{- 1}\left( {\rho^{l} - \mu} \right)}} \right)}}}} & (7) \end{matrix}$

[0070] Here, N is the number of dimensions of global feature ρ_(j)(χ_(t)|l).

[0071] Next, supervised learning with the use of neural network will be described. In this learning, conditional probability density function p(I(t)|Ω_(l)) is calculated for image I(t) with attention class as supervising signal (step S58).

[0072]FIG. 6 shows one example of hierarchical neural network used for the supervised learnin. This hierarchical neural network has three layer of node. Nodes in input layer 72 correspond to (original) images I(t), nodes in middle layer 74 to global features ρ_(j)(χ_(t)|l), and nodes in output layer 76 to attention classes Ω_(l), respectively. Although only three nodes are illustrated on the input layer 72 for simple illustration, there are actually as many nodes as the number of images I(t). Likewise, on the middle layer 74, there are nodes as many as nodes on the input layer 72. Nodes on the middle layer 74 correspond to nodes on the input layer 72 one by one. Nodes on the output layer 76 are generated as many as the number of attention class Ω_(l) (three in this embodiment).

[0073] In FIG. 6, “λ” denotes synaptic weight of the hierarchical neural network. The probability that global feature ρ_(j)(χ_(t)|l) belongs to each attention class Ω_(l) is obtained by EM algorithm, and global feature ρ_(j)(χ_(t)|l) is calculated for a set of images I(t) and I(t+1) one by one, so probability relationship (that is, “λ” in FIG. 6) between image I(t) and attention class Ω_(l) is determined by repeating the supervised learning with attention class Ω_(l) as supervising signal. More specifically, this probability relationship is conditional probability density function p(I(t)|Ω_(l)). More detailed explanation will be omitted because this hierarchical neural network is well known in the art.

[0074] By such supervised learning with neural network, direct relation between image I(t) and attention class Ω_(l), that is, conditional probability density function p(I(t)|Ω_(l)) may be obtained.

[0075] Process in steps S54 to S58 are executed every behavior command 1. Therefore, in the present embodiment, prior probability {overscore (p)}(ρ^(l)|Ω_(l)) and conditional probability density function p(I(t)|Ω_(l)) (these are called “probability model” integrally) are calculated for behavior command l=1, 2, and 3.

[0076] Probability model calculated by learning block 20 is stored in memory 22 (step S 60). If advance learning is continued, “yes” is selected in step S62 and a series of processes from step S42 to S60 is repeated, and then probability model is updated. While the mobile unit 32 is moving, advance learning is executed for all of images I(t) acquired in time t. When probability model is judged to be highly accurate enough to recognize behavior of mobile unit 32 (for example, process is completed for predetermined number of images I(t)), the process ends (step S64).

[0077] Referring to FIG. 1 and FIG. 7, the behavior recognizing part will be described in detail. FIG. 7 is a flow chart illustrating of process of the behavior recognizing part.

[0078] The image acquisition block 14 acquires two of new images at time t every preset interval (step 82). Probability models (prior probability {overscore (p)}(ρ^(l)|Ω_(l)) and conditional probability density function p(I(t)|Ω_(l))) calculated in the advance learning part are used in following Bayes' rule and confidence p(Ω_(l)(t)) for each attention class Ω_(l) (l=1,2,3) is calculated (step S84). This confidence p(Ω_(l)(t)) means the probability that the new image I(t) belongs to each attention class Ω_(l). $\begin{matrix} {{p\left( {\Omega_{l}(t)} \right)} = \frac{{\overset{\_}{p}\left( {\rho^{l}{\Omega_{l}(t)}} \right)}{p\left( {{I(t)}{\Omega_{l}(t)}} \right)}}{\sum\limits_{k}{{\overset{\_}{p}\left( {\rho^{l}{\Omega_{k}(t)}} \right)}{p\left( {{I(t)}{\Omega_{k}(t)}} \right)}}}} & (8) \end{matrix}$

[0079] Then, among three calculated confidences p (Ω_(l)(t)), p (Ω₂(t)), and p (Ω₃(t)), the largest one is selected (step S86).

[0080] The behavior assessment block 26 determines whether logarithmic likelihood of confidence p(Ω_(l)(t)) is larger than a predetermined value K (step S88). If log p (Ω_(l)(t))>K, behavior command l corresponding to attention class Ω_(l) of which the confidence is largest is recognized as the behavior of the mobile unit 32 (step S92). Otherwise, log p(Ω_(l)(t))≦K, the attention generation block 28 generates attentional demanding. The attentional modulation block 30 increments gaussian mixture “m” in Eq. (7) by specified value (that is, attentional modulation) (step S90). And in the learning block 20, a series of process in steps S56 to S60 in FIG. 2 is carried out again and the probability models (prior probability p−(ρ|Ω_(l)) and conditional probability density function p(I(t)|Ω_(l)) are updated.

[0081] The process goes back to step S84 and repeats steps S84 to S88. Thus, gaussian mixture m is increased until logarithmic likelihood log p(Ω_(l)(t)) excesses the predetermined value K. In alternative embodiment, once-generated probability model may be always used without updating process.

[0082] As discussed above, the image recognizing apparatus according to the invention does not recognize the behavior of the mobile unit based only on the image. Instead, since the image recognizing apparatus first complete the learning on the relationship between the global feature extracted from the image and behavior command and then recognizes the behavior using the learning result, the apparatus can recognize the behavior of the mobile unit rapidly and accurately in real application.

[0083] In addition, in the case of the mobile unit 32 can not move correctly in accordance with supplied behavior command due to such as error-mounted wheels, the image recognizing apparatus may get the real moving status of the mobile unit according to the behavior recognizing process.

[0084] Now one example of the invention will be described. FIG. 8 shows a block diagram of radio control car (hereinafter referred to as “RC car”) 100 that carried image recognizing apparatus 10 of the present invention. Blocks with same numerals as blocks in FIG. 1 have similar function. In addition to the image recognizing apparatus 10, on the RC car 100 is provided an image input camera 114 to acquire images, a steering control block 132 and a motor control block 134 for controlling the behavior of the RC car 100 according to the behavior command, and receiver 136 and transmitter 138 for communicating with outside device.

[0085] The receiver 136 receives behavior command signal from the outside device and supplies it to the behavior command output block 12. The RC car 100 makes going straight, left turn, or right turn in accordance with the behavior command. The transmitter 138 transmits behavior of RC car 100 recognized by the behavior recognition block 24 to the outside device.

[0086] After completing advance learning part, the result of behavior recognition for 24 frames of image is described as follows.

[0087]FIG. 9 is an exemplar illustrating change of logarithmic likelihood log p (Ω_(l)(t)) of confidence for an attention class. Horizontal axis expresses the number of gaussian mixture m of Eq. (7) and vertical axis expresses logarithmic likelihood log p(Ω_(l)(t)) of confidence. It can be understood that the logarithmic likelihood becomes saturated when the number of Gaussian mixture m reaches about 50. Larger logarithmic likelihood for an attention class for each image means that the image recognizing apparatus 10 recognizes the probability as sufficiently high that the RC car 100 takes the behavior corresponding to that attention class.

[0088] FIGS. 10 show graphs of logarithmic likelihood of confidence with 24 frames of image according to the Eq. (7) and (8) with applied number of Gaussian mixtures m=20 when the RC car 100 goes straight and then turns left/right. FIGS. 11 show the same with m=50. In FIG. 10 and FIGS. 11, upper graphs (a) show logarithmic likelihood of confidence for attention class for behavior command l=1, middle graphs (b) show logarithmic likelihood of confidence for attention class for behavior command l=2, and lowest graphs (c) shows logarithmic likelihood of confidence for attention class for behavior command l=3. Horizontal axis of each graph shows 24 frames of image on which behavioral recognition is performed. First 8 frames (frame 1-8) correspond to the images acquired during behavior command l=2 is given to the RC car 100 (when the RC car turns left), middle 8 frames (frame 9-16) to the images acquired during behavior command l=1 is given to the RC car 100 (when the RC car goes straight), and last 8 framess (frame 17-24) corresponds to the images acquired during behavior command l=3 is given to the RC car 100 (when the RC car turns right).

[0089] Referring to FIGS. 10, in graph (a), middle eight frames (when going straight) show largest logarithmic likelihood. In graph (b), first eight frames (when turning left) show largest logarithmic likelihood, and in graph (c) last eight images (when going right) show largest logarithmic likelihood. However, variation of logarithmic likelihood between frames is so large that recognition of behavior is not sufficient.

[0090] Referring to FIGS. 11, similar to FIG. 10, frames corresponding to behavior command show largest logarithmic likelihood. However, comparing to FIG. 10, the variation of logarithmic likelihood between frames becomes small and connection is smoother. These advantages are accomplished by incrementing the number of gaussian mixture by attentional modulation.

[0091] As described above, the image recognizing apparatus according to the invention improves the reliability by repeating learning in attention class generated in bottom-up fashion in the advance learning part. In the behavior recognizing part, recognizing accuracy of behavior is improved because learning result is updated until logarithmic likelihood of confidence excesses the predetermined value.

[0092] According to the invention, instead of recognizing the behavior of mobile unit based only on images, the image recognizing apparatus pre-learned the relationship between images and behavior commands and determines the behavior using the learning result. Therefore, it can recognize the behavior of the mobile unit rapidly and accurately in real application.

[0093] Although it has been described in details in terms of specific embodiment according to the invention, it is not intended to limit the invention to such specific embodiment. Those skilled in the art will appreciate that various modifications can be made without departing from the scope of the invention. 

What is claimed is:
 1. An apparatus for recognizing images, comprising: behavior command output means for outputting behavior commands to cause a mobile unit to move; local feature extraction means for extracting features of local areas within an image of external environment acquired on said mobile unit when said behavior command is output; global feature extraction means for extracting feature of global area of said image using said extracted features of said local areas; and learning means for calculating probability models to recognize behavior of the mobile unit based on said extracted feature of said global area.
 2. The apparatus according to claim 1, wherein said local feature extraction means extracts said features of the local areas within the image by utilizing image intensities obtained by applying both positive and negative component of Gabor filters on two images.
 3. The apparatus according to claim 2, wherein each of said Gabor filters is applied on one of eight different directions respectively.
 4. The apparatus according to claims 1 to 3, wherein said global feature extraction means combines said features of the local areas into said global feature with the use of Gaussian functions.
 5. The apparatus according to claim 4, wherein said learning means calculates said probability models utilizing expectation maximization algorithm and supervised learning with the use of neural network.
 6. The apparatus according to claim 5, further comprising behavioral recognition means for applying Bayes' rule with use of said probability model on an image acquired afresh, said behavioral recognition means calculating confidence for each of said behavior commands to recognize behavior of said mobile unit.
 7. The apparatus according to claim 6, further comprising: behavioral assessment means for comparing said confidence with a predetermined value to assess said recognized behavior; attention generation means for generating attentional demanding which demands to cause said probability models to be updated based on the result of said assessment; and attentional modulation means for changing specified parameter of said learning means in response to said attentional demanding; wherein said learning means recalculates said probability model after said parameter has been changed.
 8. The apparatus accoring to claim 7, wherein said behavioral recognition means selects one confidence having largest value among the plurality of confidences and supplies it to said behaviroral assessment means, said behavioral recognition means recognizing the behavior corresponding to the selected confidence as the behavior of said mobile unit if said confidence is resulted to be larger than the predetermined value by said compairing by said behaviral assessment means.
 9. The apparatus according to claim 8, wherein said parameter is the number of Gaussian mixture in an equation of said learning means for calculating said probability models.
 10. An apparatus for recognizing images, comprising: behavior command output means for outputting behavior commands to cause a mobile unit to move; local feature extraction means for extracting features of local areas within an image of external environment acquired on said mobile unit when said behavior command is output; global feature extraction means for combining said extracted features of said local areas into global feature of global area of said image with the use of Gaussian functions; learning means for calculating probability models by utilizing expectation maximization algorithm and supervised learning with the use of neural network based on said global feature; behavioral recognition means for applying Bayes' rule with use of said probability model on an image acquired afresh and calculating confidence for each of said behavior commands to recognize behavior of said mobile unit; wherein said behavioral recognition means selects one confidence having largest value among the plurality of confidence; behavioral assessment means for comparing said selected confidence with a predetermined value to assess said recognized behavior; wherein said behavioral recognition means recognizing the behavior corresponding to the selected confidence as the behavior of said mobile unit if said confidence is resulted to be larger than the predetermined value; attention generation means for generating attentional demanding which demands to cause said probability model to be updated if said confidence is resulted to be equal or smaller than the predetermined value; and attentional modulation means for changing the number of Gaussian mixture in an equation of said learning means for calculating said probability models in response to said attentional demanding; wherein said learning means recalculates said probability model after said parameter has been changed.
 11. A method for recognizing images in computing system, comprising: outputting behavior commands to cause a mobile unit to move; extracting features of local areas within an image of external environment acquired on said mobile unit when said behavior command is output; extracting feature of global area of said image using said extracted features of said local areas; and calculating probability models to recognize behavior of the mobile unit based on said extracted feature of said global area.
 12. The method according to claim 11, wherein said step of extracting features of the local areas within the image includes utilizing image intensities obtained by applying both positive and negative component of Gabor filters on two images.
 13. The method according to claim 12, wherein each of said Gabor filters is applied on one of eight different directions respectively.
 14. The method according to claims 11 to 13, wherein said step of extracting feature of the global area includes combining said features of the local areas into said global feature with the use of Gaussian functions.
 15. The method according to claims 14, wherein said step of calculating the probability models includes utilizing expectation maximization algorithm and supervised learning with the use of neural network.
 16. The method according to claim 15, further comprising: applying Bayes' rule with use of said probability models on an image acquired afresh; and calculating confidence for each of said behavior commands to recognize behavior of said mobile unit.
 17. The method according to claim 16, further comprising: comparing said confidence with a predetermined value to assess said recognized behavior; generating attentional demanding which demands to cause said probability models to be updated based on the result of said assessment; and changing specified parameter of said learning step in response to said attentional demanding; wherein said probability model is recalculated after said parameter has been changed.
 18. The apparatus accoring to claim 17, further comprising: subsequent to said step of calculating confidence, selecting one confidence having largest value among the plurality of confidences for said comparing step, recognizing the behavior corresponding to the selected confidence as the behavior of said mobile unit if said confidence is resulted to be larger than the predetermined value in said compairing step.
 19. The method according to claim 18, wherein said parameter is the number of Gaussian mixture in an equation of said calculating step for calculating said probability models.
 20. A method for recognizing images in computing system, comprising: outputting behavior commands to cause a mobile unit to move; extracting features of local areas within an image of external environment acquired on said mobile unit when said behavior command is output; combining said extracted features of said local areas into global feature of global area of said image with the use of Gaussian functions; calculating probability models by utilizing expectation maximization algorithm and supervised learning with the use of neural network based on said global feature; applying Bayes' rule with use of said probability model on an image acquired afresh and calculating confidence for each of said behavior commands to recognize behavior of said mobile unit; selecting one confidence having largest value among the plurality of confidence for said comparing step; comparing said selected confidence with a predetermined value to assess said recognized behavior; recognizing the behavior corresponding to the selected confidence as the behavior of said mobile unit if said confidence is resulted to be larger than the predetermined value; generating attentional demanding which demands to cause said probability model to be updated if said confidence is resulted to be equal or smaller than the predetermined value; and changing the number of Gaussian mixture in an equation of said calculating step for calculating said probability models in response to said attentional demanding; wherein said probability model is recalculated after said parameter has been changed. 